/*
 * Created by SharpDevelop.
 * Author: Joey
 * Date: 08/10/2007
 * Time: 01:04
 * 
 * Source is copyright Joey Sabey 2007
 */

using System;
using System.IO;

namespace MonoTheism
{
	/// <summary>
	/// Description of Global.
	/// </summary>
	public static class Global
	{
		private static string sFilePath = null;
		public static string FilePath
		{
			get{return sFilePath;}
			set
			{
				if(Directory.Exists(Path.GetPathRoot(value)))
					sFilePath = value;
				else
					throw new Exception("Soft-save path invalid");
			}
		}
	}
}
